package com.dong.classovertest;

public class PieceTest {
    public static void main(String[] args) {


        Piece p1 = new Piece(3.0, 4.0, "黑色");
        Piece p2 = new Piece(3.0, 4.0, "红色");
        System.out.println(p1.equals(p2));
    }

}
